//
//  Comment.swift
//  sinaWeiBo
//
//  Created by smartlei on 15/10/15.
//  Copyright © 2015年 smartlei. All rights reserved.
//

import UIKit
import SDWebImage

//MARK - 定义出现的tabbar全局颜色
let WBAppearanceColor = UIColor.orangeColor()
//MARK - 定义切换控制器使用的通知消息名称
let WBNSNotificationCenterChangeViewController = "WBNSNotificationCenterChangeViewController"

let  kScreenWidth = UIScreen.mainScreen().bounds.width

//失败:欺骗客户网络不给力
func delayTime(delayTime: Double,finished:() -> ()){
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(delayTime * Double(NSEC_PER_SEC)) ), dispatch_get_main_queue(), { () ->
        Void in
        //完成回调
        finished()
    })
}